/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 备忘录Entity
 * @author hss
 * @version 2017-09-02
 */
public class Memo extends DataEntity<Memo> {
	
	private static final long serialVersionUID = 1L;
	private String number;		// 学号
	private String content;		// 内容
	
	public Memo() {
		super();
	}

	public Memo(String id){
		super(id);
	}

	@Length(min=0, max=20, message="学号长度必须介于 0 和 20 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}